<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f = "http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui" 
      xmlns:ui="http://java.sun.com/jsf/facelets">
    <h:head>
        <title>RefPortal</title>
        <link rel="stylesheet" href="css/stylesheet.css" type="text/css" />
        <meta http-equiv="refresh" content="3;url=home.jsf" />
    </h:head> 
    <h:body> 
        <ui:composition template="./BannersAndMenusTemplate.jsf">

            <ui:define name="content">
                <h:form rendered="#{user.login}">
                    <h:graphicImage id="image"
                                    alt="jsf-sun"
                                    url="./images/success.png">
                    </h:graphicImage>
                    <h3 style="color:green">Successful</h3>  
                    <script type="text/javascript"> setTimeout("location.href = 'home.jsf';", 4000);</script>
                    You will be redirected to home page. If you are not redirected, <a href="home.jsf">click here to go to home.</a>
                </h:form>
            </ui:define>

        </ui:composition>



    </h:body> 
</html>

